﻿@{
    //ViewData["Title"] = "Index";
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
   <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chorme=1">
    <meta http-equiv="X-UA-Compatible" content="IE=8">
    <link href="/css/common/bootstrap.css" type="text/css" rel="stylesheet" />
    <link href="/css/common/zzxx.css" type="text/css" rel="stylesheet" />
    <link href="/css/common/font-awesome.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="http://cdn1.avatar-edu.cn/js/jquery.min.js"></script>
    <script type="text/javascript" src="http://cdn1.avatar-edu.cn/js/teacher/bootstrap.js"></script>
    <script type="text/javascript" src="http://cdn1.avatar-edu.cn/js/angular.min.js"></script>
    <script src="http://cdn1.avatar-edu.cn/js/angular-cookies.min.js"></script>
    <script src="http://cdn1.avatar-edu.cn/js/angular-resource.min.js"></script>
    <script type="text/javascript" src="http://cdn1.avatar-edu.cn/js/angular-route.js"></script>
    <script type="text/javascript" src="http://cdn1.avatar-edu.cn/js/ocLazyLoad.js"></script>
    <script type="text/javascript" src="/route_Student.js"></script>
    <script type="text/javascript" src="/modules/student/services.js"></script>
</head>
<body ng-app="stuApp">
    <!--导航栏-->
    <div ng-controller="topCtr">
    <div class="top">
        <div class="wrap">
            <div class="main_nav clear">
                <a href="#"><img src="/images/teacherModule/logo.png" /></a>
                <ul class="a_nav lt">
                    <li>
                        <a href="#" class="active"><i></i><span>{{book_type}}</span></a>
                    </li>
                    <!--<li class="second">
                        <a href=""></a>
                    </li>
                    <li class="third">
                        <a href=""></a>
                    </li>
                    <li class="last">
                        <a href=""></a>
                    </li>-->
                    <li><button ng-click="modal()">更换教材</button></li>
                </ul>
                <ul class="b_nav rt">

                    <!--<li class="second">
                        <a href="">作业</a>
                        <span>1</span>
                    </li>-->
                    <li class="third">
                        <a href="#error">错题集</a>
                    </li>
                    <!--<li class="last">
                        <a href="">APP</a>
                    </li>-->
                    <li class="dropdown user">
                        <a href="" data-toggle="dropdown">{{username}}<i></i></a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                            <li>
                                <a href="#set">个人设置</a>
                            </li>
                            <li>
                                <a href="" ng-click="logout()">注销</a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--end 导航栏-->
    <!-- 模态框 -->
    <div class="modal fade bs-example-modal-lg" id="example" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
        <div class="modal-dialog modal-lg lesson" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                    <h4 class="modal-title" id="myLargeModalLabel">请选择课程</h4>
                </div>
                <div class="modal-body">
                    <ul>
                        <li ng-repeat="item in materialsList"><a href="#" class="btn" ng-class="{1:'btn-success',0:'btn-default'}[item.ischosen]" ng-click="chooseMaterial($index)">{{item.book_type}}</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    </div>
    <!-- end 模态框 -->
    <div ng-view></div>

    <div class="foot">宁波琢华软件科技有限公司</div>
   
</body>
</html>